package com.lh.common.entity.admin;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;

import com.lh.common.entity.state.BaseEnum;
import com.lh.common.enums.IsDel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.Id;
import javax.persistence.Table;
import org.apache.ibatis.type.Alias;
import lombok.Data;
/**
 * ovmal_winning_announcement:中奖播报
 * @author Administrator 2020-05-09
 */
@TableName("ovmal_winning_announcement")
@Alias("winningAnnouncement")
@Data
public class WinningAnnouncement implements Serializable {
    @ApiModelProperty(value = "")
    @TableField(value = "wid")
    @TableId
    private Long wid;

    @ApiModelProperty(value = "用户id")
    @Column(name = "uid")
    private Long uid;

    @ApiModelProperty(value = "昵称")
    @Column(name = "uname")
    private String uname;

    @ApiModelProperty(value = "商品ID")
    @Column(name = "shop_id")
    private Long shopId;

    @ApiModelProperty(value = "期数")
    @Column(name = "period")
    private Integer period;

    @ApiModelProperty(value = "商品名称")
    @Column(name = "shop_name")
    private String shopName;

    @ApiModelProperty(value = "商品属性")
    @Column(name = "shop_property")
    private String shopProperty;

    @ApiModelProperty(value = "中奖码")
    @Column(name = "period_code")
    private String periodCode;

    @ApiModelProperty(value = "")
    @Column(name = "create_time")
    private Date createTime;

    @ApiModelProperty(value = "")
    @Column(name = "update_time")
    private Date updateTime;

    @ApiModelProperty(value = "是否删除 YES：已删除 NO：未删除")
    @Column(name = "is_del")
    private IsDel isDel;

    /**
     * ovmal_winning_announcement
     */
    private static final long serialVersionUID = 1L;
}
